package com.xx.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaoxiunique
 * @since 2018-08-06
 */
@TableName("student_info")
public class StudentInfo extends SuperEntity<StudentInfo> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "studentId", type = IdType.AUTO)
    private Integer studentId;

    @TableField("student_Name")
    private String studentName;

    @TableField("card_id")
    private String cardId;


    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    @Override
    public String toString() {
        return "StudentInfo{" +
        ", studentId=" + studentId +
        ", studentName=" + studentName +
        ", cardId=" + cardId +
        "}";
    }
}
